<div class="hastable">
					<form name="myform" class="pager-form" method="post" action="#">
						<table id="sort-table"> 
						<thead> 
						<tr>
							<th><input type="checkbox" value="check_none" onclick="this.value=check(this.form.list)" class="submit"/></th>
						   <?php $data = array('Mã Giao Dịch','Họ Tên','Diễn Giải','Số Tiền'
                                                                         ,'Ngày GD','Trạng Thái','From ACC','To ACC');
                                                       foreach ($data as $value) {    
                                                    ?>
                                                    <th><?php echo $value?></th> 
						  
                                                    <?php }?>
							<th style="width:132px">Options</th> 
						</tr> 
						</thead> 
						<tbody> 
                                                <?php 
                                                    while($transaction->fetchNext()){
                                                ?>
						<tr>
							<td class="center"><input type="checkbox" value="<?php echo $transaction->id;?>" name="list" class="checkbox"/></td> 
						    
                                                    <td><?php echo $transaction->code;?></td> 
						    <td><?php echo $transaction->name;?></td> 
						    <td><?php echo $transaction->description?></td> 
						    <td><?php echo $transaction->amount;?></td> 
						    <td><?php echo $transaction->date;?></td>
                                                    <td><?php echo $transaction->status;?></td>
                                                    <td><?php echo $transaction->src_acc;?></td>
                                                    <td><?php echo $transaction->dest_acc?></td>
						    <td>
								<a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Edit this example" href="#">
									<span class="ui-icon ui-icon-wrench"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Favourite this example" href="#">
									<span class="ui-icon ui-icon-heart"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Add to shopping card example" href="#">
									<span class="ui-icon ui-icon-cart"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all tooltip" title="Delete this example" href="#">
									<span class="ui-icon ui-icon-circle-close"></span>
								</a>
							</td>
                                                       
						</tr> 
                                                 <?php }?>
						</tbody>
						</table>
						<div id="pager">
					
								<a class="btn_no_text btn ui-state-default ui-corner-all first" title="First Page" href="#">
									<span class="ui-icon ui-icon-arrowthickstop-1-w"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all prev" title="Previous Page" href="#">
									<span class="ui-icon ui-icon-circle-arrow-w"></span>
								</a>
							
								<input type="text" class="pagedisplay"/>
								<a class="btn_no_text btn ui-state-default ui-corner-all next" title="Next Page" href="#">
									<span class="ui-icon ui-icon-circle-arrow-e"></span>
								</a>
								<a class="btn_no_text btn ui-state-default ui-corner-all last" title="Last Page" href="#">
									<span class="ui-icon ui-icon-arrowthickstop-1-e"></span>
								</a>
																
						</div>
					</form>
                                           <?php //echo $pagination->create_links(); ?>
				</div>